<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    var people = {
        'age':'17',
        'sex': function() {
            console.log(this.age) // 17
            // var func =undefined
            // console.log(func)
            var func = function(){
                console.log(func,this)
            }
            // console.log(func)
           func()
        },
    }
    people.sex()

</script>
</body>
</html>
